package com.Maykk.Demo03;

/**
 * @ClassName Demo01
 * @Description: TODO 装箱封箱练习
 * @Author: MaykkSTAR@163.com
 * @DATE: 2023/4/26
 */
public class Demo01 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("StringBuilder 类型");
        System.out.println(sb.toString() + "转为 String 类型");
        String str = "String 类型";
        StringBuilder sbstr = new StringBuilder(str);
        System.out.println(sbstr + "转为 StringBuilder 类型");
    }
}
